package dao.dto;

import util.Util;

public class RoleDto {
        private int _idRole;
        private boolean _gestionClient;
        private boolean _gestionDirection;
        private boolean _gestionIntervention;
        private boolean _gestionOnSite;
        private boolean _gestionPlanning;
        private boolean _gestionSysteme;


        //Constructeurs
	public RoleDto(  int idRole,boolean gestionClient, boolean gestionDirection,boolean gestionIntervention,
                        boolean gestionOnSite, boolean gestionPlanning
                        , boolean gestionSysteme) {
                setIdRole(idRole);
		setGestionClient(gestionClient);
                setGestionDirection(gestionDirection);
                setGestionIntervention(gestionIntervention);
                setGestionOnSite(gestionOnSite);
		setGestionPlanning(gestionPlanning);             
		setGestionSysteme(gestionSysteme);
        }
         public RoleDto(  boolean gestionClient, boolean gestionDirection,boolean gestionIntervention,
                        boolean gestionOnSite, boolean gestionPlanning
                        , boolean gestionSysteme) {
		setGestionClient(gestionClient);
                setGestionDirection(gestionDirection);
                setGestionIntervention(gestionIntervention);
                setGestionOnSite(gestionOnSite);
		setGestionPlanning(gestionPlanning);             
		setGestionSysteme(gestionSysteme);
        }       
	//Setters
	
        public void setIdRole(int idRole) {
		this._idRole = idRole;
	}
        
        public void setGestionClient(boolean gestionClient) {
		this._gestionClient = gestionClient;
	}

        public void setGestionIntervention(boolean gestionIntervention) {
		this._gestionIntervention = gestionIntervention;
	}
	
        public void setGestionPlanning(boolean gestionPlanning) {
		this._gestionPlanning = gestionPlanning;
	}
	
        public void setGestionDirection(boolean gestionDirection) {
		this._gestionDirection = gestionDirection;
	}
	
        public void setGestionOnSite(boolean gestionOnSite) {
		this._gestionOnSite = gestionOnSite;
	}
	
        public void setGestionSysteme(boolean gestionSysteme) {
		this._gestionSysteme = gestionSysteme;
	}
	
        //Getters 
	public int getIdRole() {
		return _idRole;
	}
	
        public boolean getGestionClient() {
		return _gestionClient;
	}

        public boolean getGestionDirection() {
		return _gestionDirection;
	}
        
        public boolean getGestionIntervention() {
		return _gestionIntervention;
	}
        
	public boolean getGestionOnSite() {
		return _gestionOnSite;
	}
        
        public boolean getGestionPlanning() {
		return _gestionPlanning;
	} 
	
	public boolean getGestionSysteme() {
		return _gestionSysteme;
	}
}